﻿using System;
namespace Hyfw.Model
{
	/// <summary>
	/// BarCode:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class BarCode
	{
		public BarCode()
		{}
		#region Model
		private int _id;
		private string _barcodeno;
		private string _password;
		private string _cardno;
		private string _commodityno;
		private DateTime? _producedate;
		private DateTime? _effectivedate;
		private string _batchnumber;
		private int? _codelevel=1;
		private string _fatherbarcodeno;
		private int? _querystatus=0;
		private DateTime? _firstquerydate;
		private int? _querysum;
		private DateTime? _lastquerydate;
		private string _codestatus;
		private DateTime? _createdate;
		private int? _iscoupon=0;
		private int? _isinform=0;
		private string _remark;
		private string _msg1;
		private string _msg2;
		private string _msg3;
		private string _msg4;
		private string _msg5;
		/// <summary>
		/// 条码id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 二维码条码编号
		/// </summary>
		public string barcodeNo
		{
			set{ _barcodeno=value;}
			get{return _barcodeno;}
		}
		/// <summary>
		/// 对应20为密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 电子标签编号
		/// </summary>
		public string cardNo
		{
			set{ _cardno=value;}
			get{return _cardno;}
		}
		/// <summary>
		/// 商品编号
		/// </summary>
		public string commodityNo
		{
			set{ _commodityno=value;}
			get{return _commodityno;}
		}
		/// <summary>
		/// 生产日期
		/// </summary>
		public DateTime? produceDate
		{
			set{ _producedate=value;}
			get{return _producedate;}
		}
		/// <summary>
		/// 有效日期
		/// </summary>
		public DateTime? effectiveDate
		{
			set{ _effectivedate=value;}
			get{return _effectivedate;}
		}
		/// <summary>
		/// 批号
		/// </summary>
		public string batchNumber
		{
			set{ _batchnumber=value;}
			get{return _batchnumber;}
		}
		/// <summary>
		/// 条码的级别-默认1代表一级码
		/// </summary>
		public int? codeLevel
		{
			set{ _codelevel=value;}
			get{return _codelevel;}
		}
		/// <summary>
		/// 父级条码编号
		/// </summary>
		public string fatherBarcodeNo
		{
			set{ _fatherbarcodeno=value;}
			get{return _fatherbarcodeno;}
		}
		/// <summary>
		/// 查询状态，默认0
		/// </summary>
		public int? queryStatus
		{
			set{ _querystatus=value;}
			get{return _querystatus;}
		}
		/// <summary>
		/// 第一次查询的时间
		/// </summary>
		public DateTime? firstQueryDate
		{
			set{ _firstquerydate=value;}
			get{return _firstquerydate;}
		}
		/// <summary>
		/// 查询的次数，默认0
		/// </summary>
		public int? querySum
		{
			set{ _querysum=value;}
			get{return _querysum;}
		}
		/// <summary>
		/// 最后一次查询的时间
		/// </summary>
		public DateTime? lastQueryDate
		{
			set{ _lastquerydate=value;}
			get{return _lastquerydate;}
		}
		/// <summary>
		/// 条码的状态
		/// </summary>
		public string codeStatus
		{
			set{ _codestatus=value;}
			get{return _codestatus;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? createDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 是否存在优惠券,默认0不存在
		/// </summary>
		public int? isCoupon
		{
			set{ _iscoupon=value;}
			get{return _iscoupon;}
		}
		/// <summary>
		/// 是否举报,默认0,没有举报
		/// </summary>
		public int? isInform
		{
			set{ _isinform=value;}
			get{return _isinform;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg1
		{
			set{ _msg1=value;}
			get{return _msg1;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg2
		{
			set{ _msg2=value;}
			get{return _msg2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg3
		{
			set{ _msg3=value;}
			get{return _msg3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg4
		{
			set{ _msg4=value;}
			get{return _msg4;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg5
		{
			set{ _msg5=value;}
			get{return _msg5;}
		}
		#endregion Model

	}
}

